api_endpoint
Configuration for AF API Endpoint Report table resource.
Read/write properties
http_req_method<String>
HTTP Request Method..
Maximum length = 30
max_response_time<Double>
Max Response Time.
rpt_sample_time<Double>
Report Sample time..
max_server_response_time<Double>
Max Server Response Time.
name<String>
API Endpoint Name.
Maximum length = 255
total_bytes<Double>
Total bytes accounted by this URL in sampled timeframe..
response_time<Double>
Response time..
total_api_endpoint<Double>
Total API Endpoint.
__count<Double>
count..
total_requests<Double>
Total Requests for this device in given sampled timeframe..
total_auth_failure<Double>
Total Auth Failure.
api_instance<String>
API Instance Name.
Maximum length = 255
server_response_time<Double>
Server response time..
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/api_endpoint
Query-parameters:
report_end_time
Use this query-parameter to specify the end time until where summary for report is considered.
Possible Values:time in milli seconds
report_start_time
Use this query-parameter to specify the start time from which the summary for report is considered.
Possible Values:time in milli seconds
HTTPS Method:GET
HTTPS Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "api_endpoint":[{
"http_req_method":<String_value>,
"max_response_time":<Double_value>,
"rpt_sample_time":<Double_value>,
"max_server_response_time":<Double_value>,
"name":<String_value>,
"total_bytes":<Double_value>,
"response_time":<Double_value>,
"total_api_endpoint":<Double_value>,
"__count":<Double_value>,
"total_requests":<Double_value>,
"total_auth_failure":<Double_value>,
"api_instance":<String_value>,
"server_response_time":<Double_value>}]}